package com.learn.core.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * Description
 *
 * @author zhaohongyu
 * @ClassName LCompetitionPaper
 * @date 2021.05.28 10:13
 * @describe 竞赛试卷表
 */
@TableName("l_competition_paper")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="LCompetitionPaper对象", description="竞赛试卷表")
public class LCompetitionPaper implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "competition_paper_id", type = IdType.AUTO)
    private Integer competitionPaperId;

    @ApiModelProperty(value = "竞赛id")
    @TableField("competition_id")
    private Integer competitionId;

    @ApiModelProperty(value = "考题idJson串")
    @TableField("competition_questions_id")
    private String competitionQuestionsId;

    @TableField("create_time")
    private Date createTime;

    @TableField("create_user")
    private String createUser;

    @TableField("update_time")
    private Date updateTime;

    @TableField("update_user")
    private String updateUser;

    public Integer getCompetitionPaperId() {
        return competitionPaperId;
    }

    public void setCompetitionPaperId(Integer competitionPaperId) {
        this.competitionPaperId = competitionPaperId;
    }

    public Integer getCompetitionId() {
        return competitionId;
    }

    public void setCompetitionId(Integer competitionId) {
        this.competitionId = competitionId;
    }

    public String getCompetitionQuestionsId() {
        return competitionQuestionsId;
    }

    public void setCompetitionQuestionsId(String competitionQuestionsId) {
        this.competitionQuestionsId = competitionQuestionsId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
}
